#include <string.h>
#include <stdio.h>
#include <android/log.h>
#include <stdlib.h> 
#include <jni.h>
#include <libavcodec/avcodec.h>
#include <com_spycamera_jni_EncodeJni.h>

jstring JNICALL Java_com_spycamera_jni_EncodeJni_version(JNIEnv *env,jobject thiz){
	char str[25];
	sprintf(str, "%d", avcodec_version());
    return (*env)->NewStringUTF(env, str);
}
